package com.kingsoft.dc.khaos.module.spark.metadata.preprocess.transform

/**
 * create by yansu on 2019/07/25 10:28
 */
case class LookupInfo(extract_fields: List[LookupOptionInfo],
                      lookup_key: String,
                      lookup_value: String,
                      limit: Option[String],
                      advanced_options: LookupAdvancedOption = null)

case class LookupOptionInfo(field: String = "",
                            data_type: String = "",
                            length: Option[String]
                           )

case class LookupAdvancedOption(cache_option: LookupCacheInfo,
                                partition: LookuppartitionInfo)

case class LookuppartitionInfo(on_off: Boolean = false,
                               nums: String)

case class LookupCacheInfo(on_off: Boolean = false,
                           option: String)